package com.baidu.service;

import com.baidu.pojo.TbUser;
import com.baidu.utils.ResultResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface TbUserService extends IService<TbUser> {

    ResultResponse sendCode(String phone);

    ResultResponse addUser(TbUser user);

    ResultResponse FindPhonesendCode(String phone);

    ResultResponse phoneLogin(String phone);

    ResultResponse Login(String name, String pass);
}
